package com.ruoyi.crm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.NoArgsConstructor;

/**
 * 商机管理对象 tb_business
 *
 * @author ruoyi
 * @date 2022-06-07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Business extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 线索id */
    private Long id;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 娓犻亾 */
    @Excel(name = "娓犻亾")
    private String channel;

    /** 活动id */
    @Excel(name = "活动id")
    private Long activityId;

    /** 省 */
    @Excel(name = "省")
    private String provinces;

    /** 区 */
    @Excel(name = "区")
    private String city;

    /** 閻㈤攱鍨ㄩ懓鍛偝 */
    @Excel(name = "閻㈤攱鍨ㄩ懓鍛偝")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 微信 */
    @Excel(name = "微信")
    private String weixin;

    /** qq */
    @Excel(name = "qq")
    private String qq;

    /** 意向等级 */
    @Excel(name = "意向等级")
    private String level;

    /** 意向学科 */
    @Excel(name = "意向学科")
    private String subject;

    /** 课程 */
    @Excel(name = "课程")
    private Long courseId;

    /** 职业 */
    @Excel(name = "职业")
    private String occupation;

    /** 学历 */
    @Excel(name = "学历")
    private String education;

    /** 在职情况 */
    @Excel(name = "在职情况")
    private String job;

    /** 薪资 */
    @Excel(name = "薪资")
    private String salary;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 希望薪资 */
    @Excel(name = "希望薪资")
    private String expectedSalary;

    /** 学习原因 */
    @Excel(name = "学习原因")
    private String reasons;

    /** 职业计划 */
    @Excel(name = "职业计划")
    private String plan;

    /** 计划时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "计划时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planTime;

    /** 其他意向 */
    @Excel(name = "其他意向")
    private String otherIntention;

    /** 状态(已分配1  进行中2  回收3) */
    @Excel(name = "状态(已分配1  进行中2  回收3)")
    private String status;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date nextTime;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date lastUpdateTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long clueId;

    /** 是否转派 */
    @Excel(name = "是否转派")
    private String transfer;

    /** 回收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "回收时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    private String userName;

    private String beginCreateTime;

    private String endCreateTime;
}
